projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
533ed7b
)
Fix Mac OS build
author
Po Lu
<luangruo@yahoo.com>
Wed, 5 Jun 2024 09:11:27 +0000
(17:11 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Wed, 5 Jun 2024 09:11:27 +0000
(17:11 +0800)
* src/nsfns.m (ns_make_frame_key_window): Restore, but
only when NS_IMPL_COCOA.
src/nsfns.m
patch
|
blob
|
history
diff --git
a/src/nsfns.m
b/src/nsfns.m
index 23f2337597686ff6f05f7b07c823765a7b634ecd..24fabbe2eaade4c0bb7f4bf2c611c0469ff7db45 100644
(file)
--- a/
src/nsfns.m
+++ b/
src/nsfns.m
@@
-690,6
+690,16
@@
ns_change_tab_bar_height (struct frame *f, int height)
SET_FRAME_GARBAGED (f);
}
+#ifdef NS_IMPL_COCOA
+
+void
+ns_make_frame_key_window (struct frame *f)
+{
+ [[FRAME_NS_VIEW (f) window] makeKeyWindow];
+}
+
+#endif /* NS_IMPL_COCOA */
+
/* tabbar support */
static void
ns_set_tab_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval)